html, body {
    margin: 0;
}

.root {
    min-height: 100vh;
    background-color: #f0f0f0;

    /* height: 100vh; */
}


.main-content {
    padding-top: 126px;
    padding-bottom: 48px;
}


.home-nav {
    height: 100px;
}            

.home-logo {
    height: 100%;
    display: inline-block;
}
.home-logo > img {
    height: 100%;
    object-fit: cover;
}


#nav .nav-item {
    padding: 0 6px;
}

#nav .nav-link {
    transition: border-bottom .15s;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

#nav .nav-link:hover {
    border-bottom: 1px solid #409EFF;
}


#home-nav-content {
    display: flex;
    justify-content: space-between;
}

.user img {
    width: 32px;
    height: 32px;

    object-fit: cover;
    border-radius: 50%;
}


.user > .dropdown > .dropdown-toggle {
    pointer-events: none;
}

.user > .dropdown:hover > .dropdown-menu {
    display: block;
    animation: user-down-fade .3s;

    margin: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0);
}

.user > .dropdown .list {
    border-radius: 8px;
    background-color: white;

    border: 1px #d9d9d9 solid;
    
    padding: 8px 0;
}
.user > .dropdown .link > .info {

    padding: 2px 8px;
    box-sizing: border-box;

    position: relative;
}



.user > .dropdown .link > .info > .img {
    
    
    position: absolute;
    
    width: 48px;
    height: 48px;

    left: 8px;
    top: -24px;

    border-radius: 50%;

    box-shadow: 1px 1px 5px #595959;

    animation: userInfo-expand-img .5s;
}

.user > .dropdown .link > .info img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.user > .dropdown .link > .info .point {

    position: absolute;

    width: 12px;
    height: 12px;

    border-radius: 50%;
    background-color: #67C23A;

    right: 0;
    bottom: 0;

    box-shadow: 0px 0px 3px white;
}

.user > .dropdown .link > .info > span {

    display: inline-block;

    /* margin-top: 24px; */
    width: 100%;
    text-align: center;

    white-space: nowrap;
    text-overflow: ellipsis;

    padding: 0 8px;
    box-sizing: border-box;

    animation: userInfo-expand-name .5s;
}

@keyframes userInfo-expand-img {
    0% {
        top: 12px;
        left: 16px;
        width: 24px;
        height: 24px;
    }
    100% {
        top: -24px;
        left: 8pxpx;
        width: 48px;
        height: 48px;
    }
}

@keyframes userInfo-expand-name {
    0% {
        margin-left: 30px;
        width: calc(100% - 30px);
    }
    100% {
        width: 100%;
        margin-left: 0;
    }
}

/* .user > .dropdown > .dropdown-menu:active {
    pointer-events: none;
} */

@keyframes user-down-fade {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        
    }
}
